Misalign address in the test rather than structure
authorOpenJDK Team <openjdk-21@packages.debian.org>
Wed, 21 Jan 2026 21:57:02 +0000 (10:57 +1300)
committerVladimir Petko <vladimir.petko@canonical.com>
Wed, 21 Jan 2026 21:57:02 +0000 (10:57 +1300)
commit440d4aafcaffecd6c438d90fc12044dac51d9f27
tree8518262b39c2144d42e6f32f0cdf1743b5abe738
parente2ec640a5f64a0f78944e78628161036d48ea423
Misalign address in the test rather than structure

mk68-support.diff aligned metaspace structures by 4 bytes breaking the test.
Add 1 to address type rather than aligned structure to produce misaligned pointer.

Gbp-Pq: Name misalign-pointer-for-armhf.patch
test/hotspot/gtest/metaspace/test_is_metaspace_obj.cpp